BunnyHopSpeed

Constructors

this
this(ubyte friction, float airAccel, float airMaxAccel, float groundAccel, float groundMaxAccel, float timeUnit, vec3 previousVelocity)

Base data for a bunny hop calculations

Members

Functions

newVelocity
vec3 newVelocity(vec3 accelDir, bool inAir)

Gets the current velocity and updates it to be the previous one

Meta